<template>
  <div style="margin: 20px ;width: 500px;">
    <el-form :label-position="labelPosition" label-width="80px" :model="formLabelAlign">
      <el-form-item label="昵称">
        <el-input v-model="formLabelAlign.name"></el-input>
      </el-form-item>
      <el-form-item label="性别">
        <el-input v-model="formLabelAlign.region"></el-input>
      </el-form-item>
      <el-form-item label="身份证号">
        <el-input v-model="formLabelAlign.type"></el-input>
      </el-form-item>
      <el-form-item label="电子邮箱">
        <el-input v-model="formLabelAlign.type"></el-input>
      </el-form-item>
      <el-form-item label="联系方式">
        <el-input v-model="formLabelAlign.type"></el-input>
      </el-form-item>
      <el-form-item label="个人简介" >
        <el-input type="textarea" v-model="formLabelAlign.type" maxlength="30" show-word-limit></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="save">确 定</el-button>
        <el-button type="primary" @click="$router.push('/center')">返回</el-button>
      </el-form-item>
    </el-form></div>
</template>
<script>
export default {
  name:'changeinformation',
  data() {
    return {
      labelPosition: 'right',
      formLabelAlign: {
        name: '132',
        region: '123',
        type: '511'
      }
    };
  },
  methods: {
    handleSelect(key, keyPath) {
      console.log(key, keyPath);
    },
    save: {

    }
  }
}
</script>
